<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond to
| and give it the Closure to call when that URI is requested.
|
*/

$router->get('/', function () use ($router) {
    return $router->app->version();
});


$router->get('api/test', 'ExcelController@test');
$router->get('api/user', 'ExcelController@user');
//零售
$router->get('api/gcate', 'ExcelController@goodsCate');
$router->get('api/goods', 'ExcelController@goods');
$router->get('api/gorder', 'ExcelController@goodsOrder');
//渠道
$router->get('api/qdcate', 'ExcelController@qdCate');
$router->get('api/qdgoods', 'ExcelController@qdGoods');
$router->get('api/qdorder', 'ExcelController@qdOrder');